package rmhc.api.dataflow 
{
	import rmhc.gui.SupplyFunctions;
	/**
	 * ...
	 * @author mick
	 */
	public class PhotoInfo extends DataItem
	{
		public var pid:String;
		public var aid:String;
		public var owner_id:String;
		public var src:String;
		public var text:String;
		//pid, aid, owner_id, src, src_small, src_big, text, created 
		//src_xbig, src_xxbig (иногда)
		public function PhotoInfo(pid:String, aid:String, owner_id:String, src:String, text:String, raw:Object = null) 
		{
			this.pid = pid;
			this.aid = aid;
			this.owner_id = owner_id;
			this.src = src;
			this.text = text;
			this.raw = raw;
		}
		public function toString():String
		{
			//return SupplyFunctions.objectToString(raw);
			return "[PhotoInfo: pid = " + pid + ", aid = " + aid + ", owner_id = " + owner_id + ", src = " + src + ", text = " + text + "]";
		}
		
	}

}